"use strict";
/**
 * @author zhaojiuyi
 * @date 2022/9/23-21:51
 * @version 1.0.0
 */

/*子路由*/
export const medicalListPage = {
  path: "/medicalListPage",
  name: "medicalListPage",
  component: () => import('@/views/admin/docFunction/medicalRecordCard')
}
export const recordInfoPage = {
  path: "/recordInfo",
  name: "recordInfo",
  component: () => import('@/views/common/medicalRecordPage')
}

export const DocSelfInfo = {
  path:"/doctorInfo",
  name: "doctorInfo",
  component: () => import('@/views/admin/docFunction/selfInfomation')
}
export const docListPage = {
  path: "/AdminDoctor",
  name: "AdminDoctor",
  component: () => import('@/views/admin/AdminDoctor')
}



/*导航栏路由*/
export const doctor = {
  path:"/doctorInfoPage",
  name: "doctorInfoPage",
  icon: "el-icon-doctor",
  meta:{name:"医生管理"},
  component: () => import('@/components/common/doctorInfoPage'),
  redirect: docListPage.path,
  children: [
    DocSelfInfo,
    docListPage
  ]
}
export const department = {
  path:"/AdminDepartment",
  name: "AdminDepartment",
  icon: "el-icon-department",
  meta:{name:"科室管理"},
  component: () => import('@/views/admin/AdminDepartment')
}
export const records = {
  path:"/medicalPage",
  name: "medicalPage",
  icon: "el-icon-record",
  meta:{name:"病历管理"},
  component: () => import('@/components/common/medicalPage'),
  redirect: medicalListPage.path,
  children: [
    medicalListPage,
    recordInfoPage
  ],

}
// export const daily = {
//   path:"/daily",
//   name: "daily",
//   icon: "el-icon-daily",
//   meta:{name:"日常管理"},
//   component: functionPlace
// }
export const adminInfo = {
  path:"/AdminPerson",
  name:"AdminPerson",
  icon:"el-icon-me",
  meta:{name:"我的信息"},
  component: () => import('@/views/admin/AdminPerson')
}

export const selfInfo = {
  path:"/personal",
  name: "personal",
  icon: "el-icon-doctor",
  meta:{name:"个人信息管理"},
  component: () => import('@/views/admin/docFunction/selfInfomation')
}


